import React from 'react'
import { useCommonFunc } from '../hooks/useCommon'
import { Space } from 'antd-mobile';
import { LeftOutline } from 'antd-mobile-icons';

const MyBack = () => {
    const { gotopage } = useCommonFunc()
    return (
        <Space style={{ '--gap': '3px' }} onClick={()=>gotopage(-1)}>
            <LeftOutline style={{marginTop:3}} fontSize={22}/>
        </Space>
    )
}

export default MyBack